export class ArrayUtils {

    static myForEach(fn: Function) {
        for (let i = 0; i < this.length; i++) {
            let ret = fn(this[i], i, this);
            if (typeof ret !== "undefined" && (ret == null || ret == false)) break;
        }
    }
}